package com.xyoto.community.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 新增动态评论回复DTO
 */
@ApiModel("新增动态评论回复DTO")
@Data
public class SaveDynamicCommentReplyDTO {

    @ApiModelProperty(value = "动态评论回复id")
    @Min(value = 1,message = "id最小值为1")
    private Integer replyId;

    @ApiModelProperty("动态评论id")
    @Min(value = 1,message = "id最小值为1")
    @NotNull(message = "动态评论id不能为空")
    private Integer commentId;

    @ApiModelProperty("评论内容")
    @NotBlank(message = "评论内容不能为空")
    private String content;

}
